package io.finer.erp.jeecg.stock.service.impl;

import io.finer.erp.jeecg.stock.dto.StkProcessingRecordDTO;
import io.finer.erp.jeecg.stock.entity.StkProcessingRecord;
import io.finer.erp.jeecg.stock.mapper.StkProcessingRecordMapper;
import io.finer.erp.jeecg.stock.service.IStkProcessingRecordService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 代加工详细记录
 * @Author: jeecg-boot
 * @Date:   2021-04-17
 * @Version: V1.0
 */
@Service
public class StkProcessingRecordServiceImpl extends ServiceImpl<StkProcessingRecordMapper, StkProcessingRecord> implements IStkProcessingRecordService {
	
	@Autowired
	private StkProcessingRecordMapper stkProcessingRecordMapper;
	
	@Override
	public List<StkProcessingRecord> selectByMainId(String mainId) {
		return stkProcessingRecordMapper.selectByMainId(mainId);
	}

	@Override
	public List<StkProcessingRecordDTO> selectDTOByMainId(String mainId) {
		return stkProcessingRecordMapper.selectDTOByMainId(mainId);
	}
}
